package cn.wzptsoft.mall.service;

import cn.wzptsoft.mall.pojo.Category;
import cn.wzptsoft.mall.pojo.vo.CategoryInfoVo;
import cn.wzptsoft.mall.pojo.vo.CategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ICategoryService extends IService<Category> {
    CategoryVo listAllCategor();

    List<CategoryInfoVo> listRootCategor();

    void add(Category category);

    void updateCategory(Category category);
}
